package com.example.easyexcel.service.impl;

import com.alibaba.fastjson.JSON;
import com.example.easyexcel.mapper.ExcelDynamicDropdownDataMapper;
import com.example.easyexcel.service.ExcelDynamicDropdownDataService;
import com.example.easyexcel.util.SpringBeanFactory;

/**
 * @author dangwen1
 * @date 2021年12月03日 17:32
 * @description
 */
public class ExcelDynamicDropdownDataServiceImpl implements ExcelDynamicDropdownDataService {

    @Override
    public String[] getSource() {
        ExcelDynamicDropdownDataMapper mapper = SpringBeanFactory.getBean(ExcelDynamicDropdownDataMapper.class);
        System.out.println("mapper1-------------------"+ JSON.toJSONString(mapper.getSource()));
        return mapper.getSource();
    }
}
